package cloud.maque.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhuyf
 * @date 2023/3/2 9:45
 */
@Data
public class MqUserDepartment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    /**
     * user_dept_id
     */
    private String userDeptId;

    /**
     * dept_id
     */
    private String deptId;

    /**
     * user_id
     */
    private String userId;

    /**
     * create_at
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;

    public MqUserDepartment() {
    }
}
